package cn.youqu.happy.module.youqu.convert.userInfo;

import java.util.*;

import cn.youqu.happy.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.youqu.happy.module.youqu.controller.admin.userInfo.vo.*;
import cn.youqu.happy.module.youqu.dal.dataobject.userInfo.UserInfoDO;

/**
 * 用户信息 Convert
 *
 * @author 王其岩 20112001045
 */
@Mapper
public interface UserInfoConvert {

    UserInfoConvert INSTANCE = Mappers.getMapper(UserInfoConvert.class);

    UserInfoDO convert(UserInfoCreateReqVO bean);

    UserInfoDO convert(UserInfoUpdateReqVO bean);

    UserInfoRespVO convert(UserInfoDO bean);

    List<UserInfoRespVO> convertList(List<UserInfoDO> list);

    PageResult<UserInfoRespVO> convertPage(PageResult<UserInfoDO> page);

    List<UserInfoExcelVO> convertList02(List<UserInfoDO> list);

}
